Skip to contentSkip to conversation

Black Textures on Polaris only in Cemu Zelda Breath of the Wild

Bug 108317 [email protected] 1 participant 27 messages Oct 10, 2018 – Sep 25, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=108317

Bug ID: 108317
Summary: [Polaris] Black Textures on Polaris only in Cemu Zelda
Breath of the Wild
Product: DRI
Version: XOrg git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

Created attachment 141975
--> https://bugs.freedesktop.org/attachment.cgi?id=141975&action=edit
dmesg from boot to the issue.

In this game on Polaris, most of the textures are black (see attachment). This doesn't occur on Tahiti or Pitcairn, and happens on both 4.18.x and amdgpu-staging-drm-next. As far as I'm aware, this has always been an issue on Polaris.

There doesn't seem to be anything in these logs I was told to submit in #radeon, so please let me know what else I can do for you. I'm comfortable building any packages with patches or additional debugging (if applicable).

I've attached dmesg from boot to the issue (nothing I can see), along with glxinfo, Xorg.0.log, and a screenshot of the issue.

Thank you.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=108317

John Galt <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Version|XOrg git |DRI git

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #1 from John Galt <[email protected]> --- Created attachment 141976
--> https://bugs.freedesktop.org/attachment.cgi?id=141976&action=edit
glxinfo

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #2 from John Galt <[email protected]> --- Created attachment 141977
--> https://bugs.freedesktop.org/attachment.cgi?id=141977&action=edit
Xorg log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #3 from John Galt <[email protected]> --- Created attachment 141978
--> https://bugs.freedesktop.org/attachment.cgi?id=141978&action=edit
Screenshot of the issue

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 108317] [Polaris] Black Textures only on Polaris in Cemu Zelda Breath of the Wild

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

John Galt <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[Polaris] Black Textures on |[Polaris] Black Textures
                   |Polaris only in Cemu Zelda  |only on Polaris in Cemu
                   |Breath of the Wild          |Zelda Breath of the Wild
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 108317] [Polaris] Black Textures only on Polaris in Cemu Zelda Breath of the Wild

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #4 from John Galt <[email protected]> --- I forgot to mention, if IRC works better for communication for anyone, I'm TheRealJohnGalt on Freenode #radeon.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 108317] [Polaris] Black Textures only on Polaris in Cemu Zelda Breath of the Wild

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #5 from Alex Deucher <[email protected]> --- This is more likely an llvm or mesa issue than a kernel issue.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 108317] [Polaris] Black Textures only on Polaris in Cemu Zelda Breath of the Wild

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|DRM/AMDgpu                  |Drivers/Gallium/radeonsi
         QA Contact|                            |[email protected]
                   |                            |.org
            Version|DRI git                     |unspecified
            Product|DRI                         |Mesa
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 108317] [Polaris] Black Textures only on Polaris in Cemu Zelda Breath of the Wild

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #6 from John Galt <[email protected]> --- (In reply to Alex Deucher from comment #5)

Quoted 1 line

This is more likely an llvm or mesa issue than a kernel issue.

Okay. Seeing as this issue has always persisted on Polaris since mesa mild (when this game was first playable on linux), I'm not sure where to go from here since I can't bisect. Please let me know if there's any additional logging I can get.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 108317] [Polaris] Black Textures only on Polaris in Cemu Zelda Breath of the Wild

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #7 from Xalphenos <[email protected]> ---
I don't know if or in what way I could help but I wanted to add my experiences with this.

I've been using testing this for about the last year with various cards and here are my findings. The issue seems to be that most textures are rendered black. Light sources are fine and anything transparent is fine.
https://i.imgur.com/J2HCAkb.png

The following are all cards that I have personally tested.

rx 470 4gb Has this issue.
r9 280 3gb Does not
r9 Fury Has this issue
rx 460 2gb has this issue
vega 8(2200g) Does not

Since I've been at this for so long I've ran in to dozens of others trying to run this emulator as well.

Though not tested by me it seems we can add rx 480 and 580 as having the issue and vega 56 and vega 64 as not having the issue.

I've been running this on mesa-git from lcarlier for nearly the last year and the results have always been the same.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw

[Bug 108317] [Polaris] Black Textures only on Polaris in Cemu Zelda Breath of the Wild

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #8 from John Galt <[email protected]> --- I've found evidence of Polaris users without this issue on llvm 6 + mesa mild. However, my attempts at downgrading and building with llvm 6 and current mesa haven't gone well yet.

At least we know this is probably a regression in llvm 7+

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw

[Bug 108317] [Polaris] Black Textures only on Polaris in Cemu Zelda Breath of the Wild

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #9 from Nicolai Hähnle <[email protected]> --- Thanks for the report. An apitrace that reproduces the problem would be extremely helpful.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw

[Bug 108317] [Polaris] Black Textures only on Polaris in Cemu Zelda Breath of the Wild

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #10 from John Galt <[email protected]> --- Created attachment 142047
--> https://bugs.freedesktop.org/attachment.cgi?id=142047&action=edit
apitrace of running the game, navigating the menu, and loading the game.

Thank you for the attention on this issue. Please let me know what else I can do to help with this.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#14 lore raw

[Bug 108317] [Polaris] Black Textures only on Polaris in Cemu Zelda Breath of the Wild

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #11 from John Galt <[email protected]> --- Would using renderdoc help at all?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#15 lore raw

[Bug 108317] [Polaris] Black Textures only on Polaris in Cemu Zelda Breath of the Wild

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #12 from John Galt <[email protected]> --- llvm 5.0.2 + mesa mild + http://sprunge.us/oPqhzd + polaris, still not past the
regression: https://i.imgur.com/RAOwPtM.png

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#16 lore raw

[Bug 108317] [Polaris] Black Textures only on Polaris in Cemu Zelda Breath of the Wild

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #13 from John Galt <[email protected]> --- llvm 6.0.1 + above patch + mesa mild + polaris still has the same regression. At this point unsure personally if this has ever worked despite users saying it worked at one point on polaris.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#17 lore raw

[Bug 108317] [Polaris] Black Textures only on Polaris in Cemu Zelda Breath of the Wild

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #14 from John Galt <[email protected]> --- It would seem that there was only ever one or two reports of this working on Polaris, and they're probably either fake or incorrect for other reasons (like running amdgpu-pro and not realizing).

Unfortunately this means that Polaris probably never worked here.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#18 lore raw

[Bug 108317] [GCN3] Black Textures only on GCN3 in Cemu Zelda Breath of the Wild (OpenGL 4.5)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

John Galt <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[Polaris] Black Textures    |[GCN3] Black Textures only
                   |only on Polaris in Cemu     |on GCN3 in Cemu Zelda
                   |Zelda Breath of the Wild    |Breath of the Wild (OpenGL
                   |                            |4.5)
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#19 lore raw

[Bug 108317] [GCN3] Black Textures only on GCN3 in Cemu Zelda Breath of the Wild (OpenGL 4.5)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #15 from John Galt <[email protected]> --- I've updated the main issue to reflect that this is affects all gcn3 cards specifically (AI + VI), and no <=gcn2 or gcn5 cards.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#20 lore raw

[Bug 108317] [GCN3] Black Textures only on GCN3 in Cemu Zelda Breath of the Wild (OpenGL 4.5)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #16 from John Galt <[email protected]> --- I thought I tested this before, and it turns out I had written R600DEBUG instead :(.

R600_DEBUG=nohyperz works around this issue.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#21 lore raw

[Bug 108317] [GCN3] Black Textures only on GCN3 in Cemu Zelda Breath of the Wild (OpenGL 4.5)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

John <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #17 from John <[email protected]> --- I confirm the issue on a 580 and the workaround worked as well!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#22 lore raw

[Bug 108317] [GCN3] Black Textures only on GCN3 in Cemu Zelda Breath of the Wild (OpenGL 4.5)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

Timothy Arceri <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

--- Comment #18 from Timothy Arceri <[email protected]> --- (In reply to John Galt from comment #12)

Quoted 2 lines

llvm 5.0.2 + mesa mild + http://sprunge.us/oPqhzd + polaris, still not past the regression: https://i.imgur.com/RAOwPtM.png

I had to do a google search to find out what "mesa mild" is. Please do not use this, it seems that was a hack to workaround the fact that radeonsi did not have compatibility profile support. The dev version of Mesa in git has had 4.5 support for a number of months now. As will the stable 18.3 release due out very soon.

Can you check if this is still a problem in Mesa from git? There is no need to use "mesa mild" it's just forked version on Mesa from June. It seems the original author deleted the project when we got compat support in master and somebody has revived the repo. I really wish they had not done so.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#23 lore raw

[Bug 108317] [GCN3] Black Textures only on GCN3 in Cemu Zelda Breath of the Wild (OpenGL 4.5)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #19 from John <[email protected]> ---
This is a problem with mesa master, I've never used mild myself and still have the issue.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#24 lore raw

[Bug 108317] [GCN3] Black Textures only on GCN3 in Cemu Zelda Breath of the Wild (OpenGL 4.5)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #20 from Dimitar Atanasov <[email protected]> ---
I have same problem with kernel 5.0 rc2 and Mesa 19git 7bef192 (trough Padoka PPA), picture is OK if you use R600_DEBUG=nohyperz. For me it is around 10 FPS less with this option set in some games. VegaM.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#25 lore raw

[Bug 108317] [GCN3] Black Textures only on GCN3 in Cemu Zelda Breath of the Wild (OpenGL 4.5)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

--- Comment #21 from John <[email protected]> ---
Maybe until a fix is found, could we add a driconfig workaround that disables hyperz automatically for cemu.exe?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#26 lore raw

[Bug 108317] [GCN3] Black Textures only on GCN3 in Cemu Zelda Breath of the Wild (OpenGL 4.5)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108317

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |MOVED

--- Comment #22 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1334.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel